import { defineAsyncComponent } from 'vue';
import { withInstall } from '/@/utils';
import selectUser from './src/selectUser/SelectUser.vue';
import selectAll from './src/selectAll/SelectAll.vue';
const selectUserInput = defineAsyncComponent(
  () => import('./src/selectUserInput/SelectUserInput.vue'),
);
const selectRoleInput = defineAsyncComponent(
  () => import('./src/selectRoleInput/SelectRoleInput.vue'),
);

const selectAllInput = defineAsyncComponent(
  () => import('./src/selectAllInput/SelectAllInput.vue'),
);
const selectIconInput = defineAsyncComponent(() => import('./src/selectIcon/index.vue'));
const selectIconModal = defineAsyncComponent(() => import('./src/selectIcon/SelectIconModal.vue'));

export const SelectUser = withInstall(selectUser);
export const SelectAll = withInstall(selectAll);
export const SelectUserInput = selectUserInput; // withInstall(selectUserInput);
export const SelectAllInput = selectAllInput;
export const SelectRoleInput = selectRoleInput; // withInstall(selectRoleInput);
export const SelectIconInput = selectIconInput;
export const SelectIconModal = selectIconModal;
